Pin eslint to v8 and eslint-plugin-jsdoc to v46, migrate the removed
jsdoc rule.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2792>
.gnome-shell.fedora:
variables:
FDO_DISTRIBUTION_VERSION: 38
- FDO_DISTRIBUTION_TAG: '2023-04-21.1'
+ FDO_DISTRIBUTION_TAG: '2023-06-07.1'
FDO_DISTRIBUTION_PACKAGES:
gjs
nodejs
pkgconfig(json-glib-1.0)
FDO_DISTRIBUTION_EXEC: |
# For static analysis with eslint
- npm install -g eslint eslint-plugin-jsdoc &&
+ npm install -g eslint@^8.0.0 eslint-plugin-jsdoc@^46.0.0 &&
dnf group install -y 'Development Tools' \
'C Development Tools and Libraries' &&
jsdoc/check-tag-names: error
jsdoc/check-types: error
jsdoc/implements-on-classes: error
- jsdoc/newline-after-description: error
+ jsdoc/tag-lines:
+ - error
+ - any
+ - startLines: 1
jsdoc/require-jsdoc: error
jsdoc/require-param: error
jsdoc/require-param-description: error
jsdoc/check-tag-names: off
jsdoc/check-types: off
jsdoc/implements-on-classes: off
- jsdoc/newline-after-description: off
+ jsdoc/tag-lines: off
jsdoc/require-jsdoc: off
jsdoc/require-param: off
jsdoc/require-param-description: off